package Command;

public class LightOnCommand implements Command {

    private Light lighet;
    
    public LightOnCommand(Light lighet) {
        this.lighet = lighet;
    }
    
    @Override
    public void execute() {
        lighet.on();
    }

    public void setLighet(Light lighet) {
        this.lighet = lighet;
    }

}
